#ifndef __MY_GH_UTILS
#define __MY_GH_UTILS

WORD     RotateWORD( WORD v );
DWORD    RotateDWORD( DWORD v );
CONSTSTR ConvertedText( CONSTSTR t );

CONSTSTR GetCol( CONSTSTR m, int num );
pchar    STrim( char *str );

void     DoubleToDate( PRTime& t, double v );
double   DateToDouble( PRTime& t );

#define COL( n )         STrim( (char*)StrGetCol( m, n, "," ))

#endif